package com.easylinkin.linkappapi.openapi.dto.systemDock;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

@Data
public class DockGroupDTO {

    //统一信用代码
    private String corpCode;

    //企业名称
    private String corpName;

    //班组名称
    private String teamName;

    //所属公司id-第三方获取的
    private String company;

    //责任人姓名
    private String responsiblePersonName;

    public DockGroupDTO() {
    }

    public DockGroupDTO(String corpCode, String corpName, String teamName, String company, String responsiblePersonName) {
        this.corpCode = corpCode;
        this.corpName = corpName;
        this.teamName = teamName;
        this.company = company;
        if (StringUtils.isBlank(responsiblePersonName)) this.responsiblePersonName = "blank";
        else this.responsiblePersonName = responsiblePersonName;
    }
}
